home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************\
- * *
- * guidInit.h - Guidinit code *
- * *
- * OLE Version 2.0 *
- * *
- * Copyright (c) 1992-1996, Microsoft Corp. All rights reserved. *
- * *
- * By default the #define for the DEFINE_GUID macro in compobj.h on the Mac *
- * defines a macro that turns this: *
- DEFINE_OLEGUID(IID_IEnumUnknown, 0x00000100, 0, 0);
-
- into the following declaration
-
- extern "C" const GUID IID_IEnumUnknown;
-
- to actually define the GUID (create the data) you need to #define INITGUID
- before you include compobj.h which will cause initguid.h to be included
- which will then redefine the DEFINE_OLEGUID macro to generate
-
- extern "C" const GUID IID_IEnumUnknown = { 0x00000100, 0, 0, 0xC0, 0, 0, 0, 0, 0, 0, 0x46 };
-
- * *
- \*****************************************************************************/
-
- #ifndef FAR
- #define FAR
- #endif
-
- #define INITGUID
- #include <compobj.h>
- #include <coguid.h>
- #include <oleguid.h>
- #include <activexguid.h>
- #include <olectlid.h>
- #include <ole2.h>
- #include <dispatch.h>
- #include <ServiceProviderGuid.h>
- #include <URLMonGuid.h>
- #include <ObjectGuid.h>
- #include <DataPathGuid.h>
- #include <ISLGuids.h>
-